package org.jeecg.modules.merchant.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.common.aspect.annotation.Dict;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 商户
 * @Author: jeecg-boot
 * @Date:   2019-10-03
 * @Version: V1.0
 */
@Data
@TableName("merchant")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="merchant对象", description="商户")
public class Merchant {
    
	/**主键id*/
	@TableId(type = IdType.UUID)
    @ApiModelProperty(value = "主键id")
	private java.lang.String id;
	/**商户名称*/
	@Excel(name = "商户名称", width = 15)
    @ApiModelProperty(value = "商户名称")
	private java.lang.String name;
	/**商户编号*/
	@Excel(name = "商户编号", width = 15)
    @ApiModelProperty(value = "商户编号")
	private java.lang.String code;
	/**住址*/
	@Excel(name = "住址", width = 15)
    @ApiModelProperty(value = "住址")
	private java.lang.String address;
	/**类型 -1 未知*/
	@Excel(name = "类型 -1 未知", width = 15)
    @ApiModelProperty(value = "类型 -1 未知")
	@Dict(dicCode = "merchant_type")
	private java.lang.String type;
	/**状态 0 禁用， 1 启用*/
	@Excel(name = "状态 0 禁用， 1 启用", width = 15)
	@ApiModelProperty(value = "状态 0 禁用， 1 启用")
	@Dict(dicCode ="disable_enable")
	private java.lang.String status;
	/**审核状态 0 待审核，1审核通过 2 审核不通过 */
	@Excel(name = "审核状态 0 待审核，1审核通过 2 审核不通过 ", width = 15)
    @ApiModelProperty(value = "审核状态 0 待审核，1审核通过 2 审核不通过 ")
	@Dict(dicCode ="merchant_audit_status")
	private java.lang.String auditStatus;
	/**审核结果描述*/
	@Excel(name = "审核结果描述", width = 15)
    @ApiModelProperty(value = "审核结果描述")
	private java.lang.String auditDesc;
	/**证件*/
	@Excel(name = "证件", width = 15)
    @ApiModelProperty(value = "证件")
	private java.lang.String certificates;
	/**联系人姓名*/
	@Excel(name = "联系人姓名", width = 15)
    @ApiModelProperty(value = "联系人姓名")
	private java.lang.String contactsName;
	/**联系人手机号*/
	@Excel(name = "联系人手机号", width = 15)
    @ApiModelProperty(value = "联系人手机号")
	private java.lang.String contactsMobile;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
	private java.lang.String remark;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
	private java.lang.String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private java.util.Date createTime;
	/**更新人*/
	@Excel(name = "更新人", width = 15)
    @ApiModelProperty(value = "更新人")
	private java.lang.String updateBy;
	/**更新时间*/
	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
	private java.util.Date updateTime;
}
